package vo;

/**
 * Good entity. @author MyEclipse Persistence Tools
 */

public class Good implements java.io.Serializable {

	// Fields

	private Integer id;
	private Goodtype goodtype;
	private String goodno;
	private String goodname;
	private String description;
	private Double price;

	// Constructors

	/** default constructor */
	public Good() {
	}

	/** minimal constructor */
	public Good(Goodtype goodtype, String goodno, String goodname) {
		this.goodtype = goodtype;
		this.goodno = goodno;
		this.goodname = goodname;
	}

	/** full constructor */
	public Good(Goodtype goodtype, String goodno, String goodname,
			String description, Double price) {
		this.goodtype = goodtype;
		this.goodno = goodno;
		this.goodname = goodname;
		this.description = description;
		this.price = price;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Goodtype getGoodtype() {
		return this.goodtype;
	}

	public void setGoodtype(Goodtype goodtype) {
		this.goodtype = goodtype;
	}

	public String getGoodno() {
		return this.goodno;
	}

	public void setGoodno(String goodno) {
		this.goodno = goodno;
	}

	public String getGoodname() {
		return this.goodname;
	}

	public void setGoodname(String goodname) {
		this.goodname = goodname;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

}